From: Fabian Zimmermann Date: Wed, 22 Oct 2025 09:50:57 +0000 (+0200) Subject: ddns-script: removes linefeed which causes 401 err X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=0201efd6355bc91c40d79034cda9c8859be6c25c;p=feed%2Fpackages.git ddns-script: removes linefeed which causes 401 err The linefeed at the end causes ovh-api to return 401 even if the password is correct. Fixes #27693 Signed-off-by: Fabian Zimmermann --- diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile index b1132d893f..a78f55dd05 100644 --- a/net/ddns-scripts/Makefile +++ b/net/ddns-scripts/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ddns-scripts PKG_VERSION:=2.8.2 -PKG_RELEASE:=79 +PKG_RELEASE:=80 PKG_LICENSE:=GPL-2.0 diff --git a/net/ddns-scripts/files/usr/lib/ddns/update_ovh_com.sh b/net/ddns-scripts/files/usr/lib/ddns/update_ovh_com.sh index 518986859c..56ac7cce22 100644 --- a/net/ddns-scripts/files/usr/lib/ddns/update_ovh_com.sh +++ b/net/ddns-scripts/files/usr/lib/ddns/update_ovh_com.sh @@ -12,7 +12,7 @@ http_basic_encoding() { local user="$1" local password="$2" - echo "${user}:${password}" | openssl base64 + printf "${user}:${password}" | openssl base64 -in /dev/stdin } [ -z "$domain" ] && write_log 14 "Service section not configured correctly! Missing domain name as 'Domain'"